package com.hpf.lease.web.admin.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hpf.lease.model.bean.RoomInfo;
import com.hpf.lease.web.admin.dto.RoomSearchSubmitDto;
import com.hpf.lease.web.admin.vo.RoomInfoVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author GOD
* @description 针对表【room_info(房间信息表)】的数据库操作Mapper
* @createDate 2024-08-29 15:00:50
* @Entity com.hpf.lease.model.bean.RoomInfo
*/
public interface RoomInfoMapper extends BaseMapper<RoomInfo> {

    List<RoomInfoVo> getPageItem(Page<RoomInfoVo> page,@Param("submitDto") RoomSearchSubmitDto submitDto);

    RoomInfoVo getDetailById(long id);
}




